Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
aashish chauhan
Current POTD Streak
STREAK
00
/1466
days
Longest streak/Global longest streak
Language Used
C++, C, Python
Coding Score
1263
Problem Solved
483
Contest Rating
__
974 points
Contributor
974 points
Contributor
1 Point
Proficient
Proficient
100 Point
Scholar
Scholar
1k Point
Master
Master
10k Point
Ace
Ace
50k Point
Find Your Place Among the Best
Explore Our Badge Program and Start Writing.
Start writing
How Badges Work
0 submissions in current year
Current
2024
2023
2022
2021
2020
2019
2018
2017
2016
January
February
March
April
May
June
July
August
SCHOOL (0)
BASIC (37)
EASY (147)
MEDIUM (256)
HARD (43)
Longest Even Length Substring
Sorting Elements of an Array by Frequency
Rearrange characters
SP - Special Subsequences
Rotate a Linked List
Sort a linked list of 0s, 1s and 2s
Add Number Linked Lists
Detect Loop in linked list
Count BST nodes that lie in a given range
Binary Tree from Inorder and Postorder
Bottom View of Binary Tree
Delete without head pointer
Intersection in Y Shaped Lists
Diameter of a Binary Tree
Heap Sort
Merge two sorted linked lists
Add all greater values to every node in a BST
Sum Tree
Connect Nodes of Levels
Flattening a Linked List
Diagonal Tree Traversal
Tree Boundary Traversal
Delete a node from BST
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Maximum difference between node and its ancestor
Two Stacks in an Array
The Celebrity Problem
Largest subarray with 0 sum
Topological sort
Vertical Tree Traversal
Merge K sorted linked lists
Find the number of islands
Max sum in the configuration
Get Min from Stack
Serialize and deserialize a binary tree
Gas Station
Generate IP Addresses
Check if subtree
Extreme nodes in alternate order
Kth smallest element in a Matrix
Clone a Binary Tree
Validate an IP Address
Remove loop in Linked List
Dijkstra Algorithm
Minimum Spanning Tree
Largest BST
Interleaved Strings
Count Palindromic Subsequences
Multiply two strings
Minimum Swaps to Sort
Implement Atoi
Palindrome Linked List
Strongly Connected
Rat in a Maze Problem - I
Closest in BST
BST with Dead End
Delete keys in a Linked list
Merge two BST 's
Count distinct elements in every window
Merge k Sorted Arrays
Root to leaf paths sum
Longest Palindrome in Linked List
Bridge edge in a graph
Find triplets with zero sum
Duplicate Subtree
Top View of Binary Tree
k-th Smallest in BST
Find Common Nodes in two BSTs
Peak element
Polynomial Addition
Delete nodes greater than k
Merge Sort for Linked List
Binary Tree to CDLL
Pair Sum in BST
Root to Leaf Paths
XOR Linked List
Construct tree from Inorder and LevelOrder
Count the nodes at distance K from leaf
Isomorphic Trees
Leaves to DLL
Diagonal sum in binary tree
Right Sibling in Binary Tree
Construct Tree from Preorder Traversal
Sum of nodes on the longest path
Kth Ancestor in a Tree
Check if two Nodes are Cousins
Count Number of SubTrees having given Sum
Vertical Width of a Binary Tree
Count set bits
Gray to Binary Conversion
Reverse array in groups
Smallest Positive Missing
Wave Array
Possible Words From Phone Digits
Rearrange Array Alternately
Rearrange an array with O(1) extra space
Maximum Index
Stock buy and sell
Kadane's Algorithm
Majority Element
Count Inversions
Two Repeated Elements
Unique BST's
Indexes of Subarray Sum
Count the number of possible triangles
Triplet Sum in Array
Number of pairs
Spirally traversing a matrix
Rotate by 90 degree
Unit Area of largest region of 1's
Subarrays with equal 1s and 0s
Longest Consecutive Subsequence
Strings Rotations of Each Other
Postfix Evaluation
Stock span problem
Next Greater Element
Infix to Postfix
K Sized Subarray Maximum
Kth smallest element
Activity Selection
Minimum Platforms
Stickler Thief
Egg Dropping Puzzle
Optimal Strategy For A Game
Minimum number of jumps
Longest Common Subsequence
0 - 1 Knapsack Problem
Lucky Numbers
Number of Unique Paths
Equal Sum Partition
Sort according to an Array
Allocate Minimum Pages
Preorder to BST
Zero Sum Subarrays
Find whether path exist
Kth Smallest
Implement Trie
Shortest Common Supersequence
Rotten Oranges
Steps by Knight
Count subsequences of type a^i, b^j, c^k
Maximize The Cut Segments
Rotate by 90 degree
Overlapping Intervals
Closest Three Sum
Word Break
Generate Parentheses
Word Boggle
4 Sum - All Quadruples
Sort 0s, 1s and 2s
Maximum Index
Flip Bits
Sum of Middle elements of two sorted arrays
Single Among Doubles in a Sorted
Pythagorean Triplet
Painting the Fence
Pair Sum Closest to 0
Search in Rotated Sorted Array
Sum of bit differences
Count Full Binary Trees
Maximize The Array
Max absolute difference
Form the Largest Number
Maximum Product Subarray
Swapping pairs make sum equal
Check if frequencies can be equal
Column name from a given column number
Concatenation of Zig-Zag String in n Rows
Design a tiny URL or URL shortener
Form a palindrome
Longest Subarray with Sum K
Transform String
Cutting Binary String
Sum of two large numbers
Max Sum without Adjacents
Factorials of large numbers
Length of the longest substring
k largest elements
Longest Common Substring
Smallest distinct window
Longest substring with distinct characters
Count of substrings containing K ones
Longest Substring with K Uniques
Longest Palindrome in a String
Product Pair
K-th element of two Arrays
Possible groups
Longest Arithmetic Subsequence
Triplets with Smaller Sum
Rod Cutting
Longest Palindromic Subsequence
Longest Common Increasing Subsequence
First negative in every window of size k
Smallest Non-Zero Number
Find the number of subarrays having even sum
Roll the characters of a String
Minimize the Heights II
Surpasser Count
Valid Substring
Permutations of a String
Missing Intervals
Number following a pattern
Find largest word in dictionary
Rotate String
Combination Sum - Part 2
Unique Number II
Bleak Numbers
Modular Exponentiation
Angle between hour and minute hand
Max Sum Increasing Subsequence
Coin Change (Count Ways)
Sequence of Sequence
Sieve of Eratosthenes
String Subsequence
Dice throw
Count ways to N'th Stair(Order does not matter)
Knapsack with Duplicate Items
Maximum path sum in matrix
Special Keyboard
Longest Bitonic subsequence
Min Coin
Array Pair Sum Divisibility Problem
Number of paths
Knight Walk
Permutation with Spaces
Card Rotation
Return two prime numbers
Jumping Numbers
Two water Jug problem
Fraction to Repeating Decimal
Numbers with alternative 1's
Next Permutation
Total Decoding Messages
Stream First Non-repeating
Possible paths
Segregate even and odd nodes in a Linked List
Kth Largest in a Stream
Snake and Ladder Problem
Geek and Strings
Replace O's with X's
Two odd Occuring
Check Mirror in N-ary tree
Express as sum of power of natural numbers
Flood fill Algorithm
Shortest Source to Destination Path
Recursively Remove Adjacent Duplicates
Longest Palindromic Substring
Form a palindrome
Bellman-Ford
Construct list using given q XOR queries
Overlapping Intervals
Graph is Tree or Not
Connect Nodes at Same Level
String rp or pr
Linked List Group Reverse
Reorder List
Binary Tree to DLL
Clone List with Next and Random
Min distance between two given nodes of a Binary Tree
LRU Cache
Box Stacking
Maximum subset XOR
Alien Dictionary
Nodes at given distance in binary tree
Fixing Two nodes of a BST
Max Path Sum 2 Special Nodes
Trapping Rain Water
Max Circular Subarray Sum
Smallest window containing all characters
Histogram Max Rectangular Area
Find median in a stream
Solve the Sudoku
Minimum Cost Path
Word Ladder I
The Painter's Partition Problem-II
Palindrome SubStrings
Distinct palindromic substrings
Ugly Numbers
Largest rectangle of 1s with swapping of columns allowed
Longest Prefix Suffix
Print all LCS sequences
Maximum XOR subset
Edit Distance
Min cut Square
Minimum sum partition
Matrix Chain Multiplication
Bit Difference
Median in a row-wise sorted Matrix
Longest valid Parentheses
Longest Zig-Zag Sub Sequence
Word Break - 2
N-Queen Problem
Brackets in Matrix Chain Multiplication
Convex Hull
Maximum sum Rectangle
Word Break (Trie)
Count occurrences of a given word in a 2-d array
SP - Palindrome Family
SP - Stack Design
SP - BST Traversal
SPP - K<sup>th</sup> largest and smallest
SP - Golden String
SP - Catch The Nun
Reverse a linked list
Pairwise swap elements of a linked list
Remove duplicates from an unsorted linked list
Bubble Sort
Check for BST
Right View of Binary Tree
K distance from root
Mirror Tree
Two Mirror Trees
Height of Binary Tree
Balanced Tree Check
Kth from End of Linked List
Middle of a Linked List
Left View of Binary Tree
Transform to Sum Tree
Queue using two Stacks
Remove Duplicates from a Sorted Linked List
Stack using two queues
Level Order in spiral form
DFS of Graph
Stack using Linked List
Insert a node in a BST
BFS of graph
Identical Trees
Root to leaf path sum
Square Root
Nodes without a Sibling
Postorder from Inorder and Preorder
Lowest Common Ancestor in a BST
Binary Search
Run Length Encoding
Largest subarray of 0's and 1's
BST Keys in a Range
Minimum Depth of a Binary Tree
Binary Tree to BST
Convert to Roman No
Match specific pattern
Josephus problem
Expression Tree
Kth largest element in BST
Array Duplicates
Special Stack
Three way partitioning
Level order traversal
Inorder Successor in BST
Symmetric Tree
Construct BST from Postorder
Find length of Loop
Change of Key in BST
Linked List Matrix
Queue Reversal
Sum of Leaf Nodes
Closest Neighbour in BST
Exchange the Leaf Nodes
Sum of Leaf Nodes at Min Level
Tilt of Binary Tree
Decimal to binary
First Set Bit
Rightmost different bit
Check K-th Bit
Longest Consecutive 1's
Power of 2
Swap odd and even bits
Equilibrium Point
Array Leaders
Sort by Absolute Difference
Anagram
String Rotated by 2 Places
Reverse Words
Minimum indexed character
Parenthesis Checker
Generate Binary Numbers
K largest elements
Minimum Cost of ropes
N meetings in one room
Count number of hops
Missing in Array
Product array puzzle
Roman Number to Integer
Excel Sheet | Part - 2
Missing And Repeating
Count the elements
Find the closest number
Sorted and Rotated Minimum
Search in a Row-Column sorted matrix
String Duplicates Removal
Min sum formed by digits
Minimize the sum of product
Chocolate Distribution Problem
Find Pair Given Difference
Swap and Maximize
Left most and right most index
Remaining String
Check if a given string is a rotation of a palindrome
Sort in specific order
Arya's Long String
Remove Duplicates
Nearest multiple of 10
Difficulty of sentence
Convert array into Zig-Zag fashion
Two Sum - Pair with Given Sum
Sort Unsorted Subarray
Number of occurrence
Average of Prefix
Longest common prefix
Modify the Array
String's Count
Longest Common Prefix of Strings
Even and odd elements at even and odd positions
Meta Strings
Maximum number of characters between any two same character
Sum of distinct elements for a limited range
Maximum number of zeroes
Element with left side smaller and right side greater
Merging two unsorted arrays in sorted order
Transform the array
Palindrome String
Print Bracket Number
Generate binary string
Is Binary Number Multiple of 3
Number of 1 Bits
Check if a Integer is power of 8 or not
Lucky Number
Reverse Bits
Toggle bits in the given range
Element that appears once where every element occurs twice
Maximum Product Cutting
Party of Couples
Minimum steps to minimize n as per given condition
Numbers with same first and last digit
Perfect Numbers
Day of the week
Magic numbers
Largest number possible
Page Faults in LRU
BBT counter
Largest zigzag sequence
Overlapping rectangles
Print Pattern
Count all possible paths from top left to bottom right
Shortest distance in infinite tree
Rotate Array
Count Leaves in Binary Tree
Queue using Linked List
Queue Using Array
Replace all 0's with 5
First Occurence
Sum Except First and Last
Search a node in BST
Remainder with 7
Linked List Insertion At End
Minimum element in BST
longest substring containing '1'
Start Coding - Python
Space Seperated - Python
Bit Difference
Number is sparse or not
Binary String
Remove common characters and concatenate
Keypad typing
Type of array
Check for subsequence
Odd to Even
Quick Left Rotation
Reversing the vowels
Last index of One
Distinct Adjacent Element
URLify a given string
First K natural numbers
One odd Occuring
Array Subset
Rotating an Array
Boolean String Value
Gray Code
Binary representation
Reverse digits
Closest Number
Pattern Jumping
close
A
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !